package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;
import com.yuncheng.spcyApi.entity.SpcyXcjcBjml;
import com.yuncheng.spcyApi.mapper.SpcyXcjcBjmlMapper;
import com.yuncheng.spcyApi.service.ISpcyXcjcBjmlService;
import com.yuncheng.spcyApi.vo.xcjchy.XcjcBjmlVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 审评查验-笔记描述
 * @Author: yuncheng
 * @Date: 2024-06-24
 * @Version: V1.0
 */
@Service
public class SpcyXcjcBjmlServiceImpl extends BaseServiceImpl<SpcyXcjcBjmlMapper, SpcyXcjcBjml> implements ISpcyXcjcBjmlService {

    @Resource
    private SpcyXcjcBjmlMapper spcyXcjcBjmlMapper;

    @Override
    public String selectMlFsqsxidById(String id) {
        return spcyXcjcBjmlMapper.selectMlFsqsxidById(id);
    }

    @Override
    public List<XcjcBjmlVo> selectMlListByFsqsxId(String sqsxid) {
        return spcyXcjcBjmlMapper.selectMlListByFsqsxId(sqsxid);
    }

    @Override
    public List<XcjcBjmlVo> selectMlListByFsqsxIdAndFuserid(String sqsxid, String fuserid) {
        return spcyXcjcBjmlMapper.selectMlListByFsqsxIdAndFuserid(sqsxid, fuserid);
    }

    @Override
    public XcjcBjmlVo selectMlBeanById(String id) {
        return spcyXcjcBjmlMapper.selectMlBeanById(id);
    }

    @Override
    public List<XcjcBjmlVo> selectBjmlByFsqsxIdAndFddcj(String sqsxid, String fddcj, String userid) {
        return spcyXcjcBjmlMapper.selectBjmlByFsqsxIdAndFddcj(sqsxid, fddcj, userid);
    }

    @Override
    public String selectMlFddcjById(String id) {
        return spcyXcjcBjmlMapper.selectMlFddcjById(id);
    }
}
